<template>
  <div>
    <el-divider />
    <h4>中药</h4>
    <el-form ref="form" :model="form" label-width="180px">
      <el-row>
        <el-col :span="12">
          <el-form-item label="服用中药治疗情况">
            <el-input v-model="form.improve" />
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="起效时间">
            <el-date-picker
              v-model="form.onsetDate"
              type="date"
              placeholder="选择日期"
            />
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        pid: this._routerRoot._route.query.id,
        did: 13
      }
    }
  },
  methods: {
    onSubmit() {
      console.log('submit!')
    }
  }
}
</script>

<style>

</style>
